home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
tsr_c.exe
/
TSR.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-03-24
|
478b
|
36 lines
#include <conio.h>
#include <dos.h>
#include "vectors.h"
//FILE *file;
int mx, my;
int count = 0;
/*
void commit (WORD h)
{
_BX = h;
_AX = 0x6800;
geninterrupt (0x21);
}
*/
void tsr (int v)
{
my = wherey ();
mx = wherex ();
textattr ((BLUE<<4) + YELLOW);
gotoxy (60,1);
cprintf ("%02X -- %d", v, count++);
// fprintf (file, "%02X -- %04d\n", v, count);
// commit (file->fd);
// fflush (file);
gotoxy (mx,my);
}